// 训练类型枚举
export enum TrainingType {
  AUDIO_BASE = 'AudioBase',
  IMAGE_CHOOSE_AUDIO = 'ImageChooseAudio',
  AUDIO_CHOOSE_IMAGE = 'AudioChooseImage',
}

// 训练页面接口
export interface TrainingPage {
  id: string
  type: TrainingType
  title: string
  description: string
  audio?: {
    words: Word[]
  }
  images?: {
    words: Word[]
  }
  completed: boolean
}

// 单词接口
export interface Word {
  id: string
  text: string
  translation: string
  audioUrl?: string
  imageUrl?: string
  example?: string
  isCorrect?: boolean
}

// 场景训练计划接口
export interface SceneTrainingPlan {
  sceneId: string
  sceneName: string
  pages: TrainingPage[]
  currentPageIndex: number
  completed: boolean
}
